package epimarket.beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Marque implements Serializable {
	private int id;
	private int id_sous_categorie;
	private String nom;
	private String logo;
	
	public Marque() {
		this.id = -1;
		this.id_sous_categorie = -1;
		this.nom = "";
		this.logo = "";
	}
	
	public String toString() {
		String str = "";
		str += "id_marque = " + this.id + "<br />";
		str += "id_sous_categorie = " + this.id_sous_categorie + "<br />";
		str += "nom = " + this.nom + "<br />";
		str += "logo = " + this.logo + "<br />";
		return str;
	}

	/*
	 * Getter et Setter
	 */
	
	public int getId() {
		return id;
	}

	public void setId(int idd) {
		this.id = idd;
	}
	
	public int getId_sous_categorie() {
		return id_sous_categorie;
	}

	public void setId_sous_categorie(int id_sous_categorie) {
		this.id_sous_categorie = id_sous_categorie;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}
}
